<template>
  <div class="content">
    <lay-form :model="form" :pane="true">
      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="SN" prop="username">
            <lay-input v-model="form.SN"></lay-input>
          </lay-form-item>
        </lay-col>
        <lay-col md="12">
          <lay-form-item label="所属科室" prop="password">
            <lay-input v-model="form.所属科室"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>

      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="收购日期" prop="desc">
            <lay-input v-model="form.收购日期" ></lay-input>
          </lay-form-item>
        </lay-col>

        <lay-col md="12">
          <lay-form-item label="登账类型" prop="desc">
            <lay-input v-model="form.登账类型"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>

      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="科室名称" prop="desc">
            <lay-input v-model="form.科室名称"></lay-input>
          </lay-form-item>
        </lay-col>
        <lay-col md="12">
          <lay-form-item label="规格型号" prop="desc">
            <lay-input v-model="form.规格型号"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>

      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="设备分类" prop="desc">
            <lay-input v-model="form.设备分类"></lay-input>
          </lay-form-item>
        </lay-col>
        <lay-col md="12">
          <lay-form-item label="设备名称" prop="desc">
            <lay-input v-model="form.设备名称"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>

      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="设备品牌" prop="desc">
            <lay-input v-model="form.设备品牌"></lay-input>
          </lay-form-item>
        </lay-col>
        <lay-col md="12">
          <lay-form-item label="设备状态" prop="desc">
            <lay-input v-model="form.设备状态"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>

      <lay-row space="10">
        <lay-col md="12">
          <lay-form-item label="设备编号" prop="desc">
            <lay-input v-model="form.设备编号"></lay-input>
          </lay-form-item>
        </lay-col>
        <lay-col md="12">
          <lay-form-item label="资金来源" prop="desc">
            <lay-input v-model="form.资金来源"></lay-input>
          </lay-form-item>
        </lay-col>
      </lay-row>
      <lay-form-item style="text-align: center;">
        <lay-button type="primary" @click="upDate">修改</lay-button>
      </lay-form-item>
    </lay-form>
  </div>
</template>

<script setup>
const props = defineProps({
  form:{
    type:Object,
    default:{}
  }
})

const upDate = () => {

}
</script>

<style scoped lang="less">
.content{
  width: 80%;
  margin: 0px auto;
}
</style>